import { getUrlParam } from './utils';
import storage from './storage';

export const initData = () => {
    storage.set('ZW-PLATFORM-TOKEN', getUrlParam('ZW-PLATFORM-TOKEN'));
    storage.set('ZW-TENANT-ID', getUrlParam('ZW-TENANT-ID'));
    storage.set('ZW-SHOP-ID', getUrlParam('ZW-SHOP-ID'));
};
